package com.example.hospitalManage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.hospitalManage.entity.UserInfo;
import com.example.hospitalManage.utils.PageQueryUtil;
import com.example.hospitalManage.utils.PageResult;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ProjectName: yygh
 * @Author: gxy
 * @Time: 2022/12/21 16:02
 * @Description: 描述
 */

public interface UserInfoService extends IService<UserInfo> {
    /**
     * @param :
     * @return List<UserInfo>
     * @author GCT
     * @description TODO
     * @date 2023/1/2 21:56
     */
    List<UserInfo> findUsers();

    /**
     * @param username:
     * @return UserInfo
     * @author GCT
     * @description TODO
     * @date 2023/1/2 21:56
     */
    UserInfo findUserByUserName( String username);

    /**
     * @param username:
     * @return List<String>
     * @author GCT
     * @description TODO
     * 获取权限信息
     * @date 2023/1/2 21:55
     */
    List<String> getPermissions(String username);


}
